package com.tank.dwr;

import java.util.List;

import org.directwebremoting.annotations.RemoteMethod;
import org.directwebremoting.annotations.RemoteProxy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.tank.bean.User;
import com.tank.bean.item.Comment;
import com.tank.bean.item.Item;
import com.tank.bean.item.Talk;
import com.tank.bean.item.Transpond;
import com.tank.core.TankModel;
import com.tank.service.HomeService;
import com.tank.service.ItemService;
import com.tank.service.UserService;
import com.tank.util.TankUtil;

@RemoteProxy(name="USER")
public class UserController {
	
	
	@Autowired
	@Qualifier("userService")
	UserService us;
	
	
	
	
	@RemoteMethod
	public TankModel modifyBasic(User user){
		return us.modifyBasic(user);
	}
	
	@RemoteMethod
	public TankModel modifyPass(String oldpass,String newpass){
		return us.modifyPass(oldpass,newpass);
	}
	
	
	
	
	
	
}
